package com.yc.navy.springmvc.mapper;

import java.util.List;
import java.util.Map;

import com.yc.navy.springmvc.bean.ProductInfo;
import com.yc.navy.springmvc.dto.ProductToOrderDTO;

public interface IProductInfoMapper {
	int add(ProductInfo pf);
	
	List<ProductInfo> list(Map<String, Object> map);
	
	ProductInfo get(Long pno);
	
	List<ProductInfo> finds (List<String> pnos);
	
	int total(Map<String, Object> map);

	List<ProductToOrderDTO> findByOrder(String[] cnos);
	
	int updateStore(String[] cnos);
}
